package org.seeplnframework.skyeye.common.util;

import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import reactor.core.publisher.Mono;
import retrofit2.Response;
import retrofit2.http.*;

/**
 * 微信服务接口
 */
public interface WeTalkService {

    /**
     * 发送微信消息
     * @param key
     * @param body
     * @return
     */
    @Headers({"Content-Type: application/json; charset=utf-8"})
    @POST("{key}")
    Mono<Response<ResponseBody>> robotSendMono(@Path("key") String key, @Body RequestBody body);

}
